package com.tulei.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tulei.system.Entity.SysRole;
import com.tulei.system.mapper.RoleMapper;
import com.tulei.system.service.RoleService;
import org.springframework.stereotype.Service;

/**
 * @Author TuLei
 * @Date 2024-06-27 16:28
 **/


@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, SysRole> implements RoleService {
    @Override
    public SysRole getRoleById(Long userId) {
        return baseMapper.getRoleById(userId);
    }
}
